//
//  SildeLineSprite.h
//  StarBugs
//
//  Created by ?? ? on 12/29/11.
//  Copyright 2011 antisword@playorca.com. All rights reserved.
//

#ifndef __SIDELINE_SPRITE_H__
#define __SIDELINE_SPRITE_H__

#include "Object/ObjectSprite.h"

class SideLineSprite : public ObjectSprite
{
public:
    SideLineSprite();
    ~SideLineSprite();
    virtual void setBody(b2World* _world);
    virtual void setBodyAngle(bool isInv);
    virtual void removeBody(b2World *_world);
    
    void startReflectAction();
    void reflectTick(float dt);
private:
    CCSpriteFrame *reFlectFrame[3];
    //    CCSprite *tmpSprite;

    CCArray *reflectArray;
    int cnt;

};


#endif//__SIDELINE_SPRITE_H__